package com.ctshk.rpc.finance.req.onaccount;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 挂账管理列表req
 */
@Data
@ApiModel(value = "OnAccountListReq",description = "挂账管理列表req")
public class OnAccountListReq extends PageReq implements Serializable {

    @NotNull(message = "账户类型不能为空")
    @ApiModelProperty(value = "账户类型 1 大客户/代理商挂账,2 内部中心挂账,3 集团公司挂账",required = true)
    private Integer accountType;

    @ApiModelProperty(value = "大客戶/代理商ID")
    private Long accountId;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
